package cn.tedu.goods.management.dao.persist.repository.impl;


import cn.tedu.goods.management.dao.persist.mapper.OrderRefundMapper;
import cn.tedu.goods.management.dao.persist.repository.IOrderRefundRepository;
import cn.tedu.goods.management.pojo.eneity.OrderRefund;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class OrderRefundRepositoryImpl implements IOrderRefundRepository {
    @Autowired
    private OrderRefundMapper orderRefundMapper;

    @Override
    public List<OrderRefund> getList() {
        return orderRefundMapper.getList();
    }

    @Override
    public int insert(OrderRefund orderRefund) {
        return orderRefundMapper.insert(orderRefund);
    }

}
